package org.neframework.webtest.action.xyk.bank;

import java.util.List;
import java.util.Map;

import org.neframework.webtest.base.BaseController;
import org.neframework.webtest.service.BankService;

import com.tmsps.neframework.mvc.annotation.Controller;
import com.tmsps.neframework.mvc.annotation.RequestMapping;

@Controller
@RequestMapping("/cp/xyk/bank/info")
public class BankInfoController extends BaseController {

	private static final BankService bankService = new BankService();

	@RequestMapping("/list_bk")
	public String list_bk() {
		List<Map<String, Object>> list = bankService.selectBankList();
		
		req.setAttribute("list", list);
		return "/jsp/xyk/bank/info/list_bk.jsp";
	}

	@RequestMapping("/list_te")
	public String list_te() {
		List<Map<String, Object>> list = bankService.selectBankList();

		req.setAttribute("list", list);
		return "/jsp/xyk/bank/info/list_te.jsp";
	}

}
